<script>
import { reactive } from 'vue';

export default{
    setup(){
        const data=reactive({count:0})
        return {
            data
        }
    }
}
</script>
<template>
    <div>
        {{data.count}}
        <button @click="data.count++">count</button>
    </div>
</template>